#include "CalculateTime.h"
#include "stdafx.h"
LARGE_INTEGER startTime, endTime, freq;
void InitializingTime()
{
QueryPerformanceCounter(&startTime);
QueryPerformanceFrequency(&freq);
}
__int64 GetTime()
{
QueryPerformanceCounter(&endTime);
__int64 totalTime((endTime.QuadPart-startTime.QuadPart)*1000/freq.QuadPart);
return totalTime;
}
